package com.attendance.www.hr.entitys;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ModifyLogsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ModifyLogsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andModifyLogsIdIsNull() {
            addCriterion("modify_logs_id is null");
            return (Criteria) this;
        }

        public Criteria andModifyLogsIdIsNotNull() {
            addCriterion("modify_logs_id is not null");
            return (Criteria) this;
        }

        public Criteria andModifyLogsIdEqualTo(Integer value) {
            addCriterion("modify_logs_id =", value, "modifyLogsId");
            return (Criteria) this;
        }

        public Criteria andModifyLogsIdNotEqualTo(Integer value) {
            addCriterion("modify_logs_id <>", value, "modifyLogsId");
            return (Criteria) this;
        }

        public Criteria andModifyLogsIdGreaterThan(Integer value) {
            addCriterion("modify_logs_id >", value, "modifyLogsId");
            return (Criteria) this;
        }

        public Criteria andModifyLogsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("modify_logs_id >=", value, "modifyLogsId");
            return (Criteria) this;
        }

        public Criteria andModifyLogsIdLessThan(Integer value) {
            addCriterion("modify_logs_id <", value, "modifyLogsId");
            return (Criteria) this;
        }

        public Criteria andModifyLogsIdLessThanOrEqualTo(Integer value) {
            addCriterion("modify_logs_id <=", value, "modifyLogsId");
            return (Criteria) this;
        }

        public Criteria andModifyLogsIdIn(List<Integer> values) {
            addCriterion("modify_logs_id in", values, "modifyLogsId");
            return (Criteria) this;
        }

        public Criteria andModifyLogsIdNotIn(List<Integer> values) {
            addCriterion("modify_logs_id not in", values, "modifyLogsId");
            return (Criteria) this;
        }

        public Criteria andModifyLogsIdBetween(Integer value1, Integer value2) {
            addCriterion("modify_logs_id between", value1, value2, "modifyLogsId");
            return (Criteria) this;
        }

        public Criteria andModifyLogsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("modify_logs_id not between", value1, value2, "modifyLogsId");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoIsNull() {
            addCriterion("employee_no is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoIsNotNull() {
            addCriterion("employee_no is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoEqualTo(String value) {
            addCriterion("employee_no =", value, "employeeNo");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoNotEqualTo(String value) {
            addCriterion("employee_no <>", value, "employeeNo");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoGreaterThan(String value) {
            addCriterion("employee_no >", value, "employeeNo");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoGreaterThanOrEqualTo(String value) {
            addCriterion("employee_no >=", value, "employeeNo");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoLessThan(String value) {
            addCriterion("employee_no <", value, "employeeNo");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoLessThanOrEqualTo(String value) {
            addCriterion("employee_no <=", value, "employeeNo");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoLike(String value) {
            addCriterion("employee_no like", value, "employeeNo");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoNotLike(String value) {
            addCriterion("employee_no not like", value, "employeeNo");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoIn(List<String> values) {
            addCriterion("employee_no in", values, "employeeNo");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoNotIn(List<String> values) {
            addCriterion("employee_no not in", values, "employeeNo");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoBetween(String value1, String value2) {
            addCriterion("employee_no between", value1, value2, "employeeNo");
            return (Criteria) this;
        }

        public Criteria andEmployeeNoNotBetween(String value1, String value2) {
            addCriterion("employee_no not between", value1, value2, "employeeNo");
            return (Criteria) this;
        }

        public Criteria andChineseNameIsNull() {
            addCriterion("chinese_name is null");
            return (Criteria) this;
        }

        public Criteria andChineseNameIsNotNull() {
            addCriterion("chinese_name is not null");
            return (Criteria) this;
        }

        public Criteria andChineseNameEqualTo(String value) {
            addCriterion("chinese_name =", value, "chineseName");
            return (Criteria) this;
        }

        public Criteria andChineseNameNotEqualTo(String value) {
            addCriterion("chinese_name <>", value, "chineseName");
            return (Criteria) this;
        }

        public Criteria andChineseNameGreaterThan(String value) {
            addCriterion("chinese_name >", value, "chineseName");
            return (Criteria) this;
        }

        public Criteria andChineseNameGreaterThanOrEqualTo(String value) {
            addCriterion("chinese_name >=", value, "chineseName");
            return (Criteria) this;
        }

        public Criteria andChineseNameLessThan(String value) {
            addCriterion("chinese_name <", value, "chineseName");
            return (Criteria) this;
        }

        public Criteria andChineseNameLessThanOrEqualTo(String value) {
            addCriterion("chinese_name <=", value, "chineseName");
            return (Criteria) this;
        }

        public Criteria andChineseNameLike(String value) {
            addCriterion("chinese_name like", value, "chineseName");
            return (Criteria) this;
        }

        public Criteria andChineseNameNotLike(String value) {
            addCriterion("chinese_name not like", value, "chineseName");
            return (Criteria) this;
        }

        public Criteria andChineseNameIn(List<String> values) {
            addCriterion("chinese_name in", values, "chineseName");
            return (Criteria) this;
        }

        public Criteria andChineseNameNotIn(List<String> values) {
            addCriterion("chinese_name not in", values, "chineseName");
            return (Criteria) this;
        }

        public Criteria andChineseNameBetween(String value1, String value2) {
            addCriterion("chinese_name between", value1, value2, "chineseName");
            return (Criteria) this;
        }

        public Criteria andChineseNameNotBetween(String value1, String value2) {
            addCriterion("chinese_name not between", value1, value2, "chineseName");
            return (Criteria) this;
        }

        public Criteria andMinutesIsNull() {
            addCriterion("minutes is null");
            return (Criteria) this;
        }

        public Criteria andMinutesIsNotNull() {
            addCriterion("minutes is not null");
            return (Criteria) this;
        }

        public Criteria andMinutesEqualTo(BigDecimal value) {
            addCriterion("minutes =", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesNotEqualTo(BigDecimal value) {
            addCriterion("minutes <>", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesGreaterThan(BigDecimal value) {
            addCriterion("minutes >", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("minutes >=", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesLessThan(BigDecimal value) {
            addCriterion("minutes <", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesLessThanOrEqualTo(BigDecimal value) {
            addCriterion("minutes <=", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesIn(List<BigDecimal> values) {
            addCriterion("minutes in", values, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesNotIn(List<BigDecimal> values) {
            addCriterion("minutes not in", values, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("minutes between", value1, value2, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("minutes not between", value1, value2, "minutes");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoIsNull() {
            addCriterion("modify_employee_no is null");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoIsNotNull() {
            addCriterion("modify_employee_no is not null");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoEqualTo(String value) {
            addCriterion("modify_employee_no =", value, "modifyEmployeeNo");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoNotEqualTo(String value) {
            addCriterion("modify_employee_no <>", value, "modifyEmployeeNo");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoGreaterThan(String value) {
            addCriterion("modify_employee_no >", value, "modifyEmployeeNo");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoGreaterThanOrEqualTo(String value) {
            addCriterion("modify_employee_no >=", value, "modifyEmployeeNo");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoLessThan(String value) {
            addCriterion("modify_employee_no <", value, "modifyEmployeeNo");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoLessThanOrEqualTo(String value) {
            addCriterion("modify_employee_no <=", value, "modifyEmployeeNo");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoLike(String value) {
            addCriterion("modify_employee_no like", value, "modifyEmployeeNo");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoNotLike(String value) {
            addCriterion("modify_employee_no not like", value, "modifyEmployeeNo");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoIn(List<String> values) {
            addCriterion("modify_employee_no in", values, "modifyEmployeeNo");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoNotIn(List<String> values) {
            addCriterion("modify_employee_no not in", values, "modifyEmployeeNo");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoBetween(String value1, String value2) {
            addCriterion("modify_employee_no between", value1, value2, "modifyEmployeeNo");
            return (Criteria) this;
        }

        public Criteria andModifyEmployeeNoNotBetween(String value1, String value2) {
            addCriterion("modify_employee_no not between", value1, value2, "modifyEmployeeNo");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameIsNull() {
            addCriterion("modify_chinese_name is null");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameIsNotNull() {
            addCriterion("modify_chinese_name is not null");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameEqualTo(String value) {
            addCriterion("modify_chinese_name =", value, "modifyChineseName");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameNotEqualTo(String value) {
            addCriterion("modify_chinese_name <>", value, "modifyChineseName");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameGreaterThan(String value) {
            addCriterion("modify_chinese_name >", value, "modifyChineseName");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameGreaterThanOrEqualTo(String value) {
            addCriterion("modify_chinese_name >=", value, "modifyChineseName");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameLessThan(String value) {
            addCriterion("modify_chinese_name <", value, "modifyChineseName");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameLessThanOrEqualTo(String value) {
            addCriterion("modify_chinese_name <=", value, "modifyChineseName");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameLike(String value) {
            addCriterion("modify_chinese_name like", value, "modifyChineseName");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameNotLike(String value) {
            addCriterion("modify_chinese_name not like", value, "modifyChineseName");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameIn(List<String> values) {
            addCriterion("modify_chinese_name in", values, "modifyChineseName");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameNotIn(List<String> values) {
            addCriterion("modify_chinese_name not in", values, "modifyChineseName");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameBetween(String value1, String value2) {
            addCriterion("modify_chinese_name between", value1, value2, "modifyChineseName");
            return (Criteria) this;
        }

        public Criteria andModifyChineseNameNotBetween(String value1, String value2) {
            addCriterion("modify_chinese_name not between", value1, value2, "modifyChineseName");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}